package com.kgc.service;

import com.github.pagehelper.PageInfo;
import com.kgc.entity.Address;

import java.util.Map;

/**
 * @author :qinya
 * @PackageName:com.kgc.service
 * @ClassName: AddressService
 * @Description: TODO
 * @date : 2025/5/20,20:51
 */
public interface AddressService {
    PageInfo<Address> selectByPage(Map<String, Object> params);

    boolean editAddress(Address address);

    boolean addAddress(Address address);

    boolean delAddress(int id);

    Address selectById(int id);

    boolean cancelDefaultAddress(int id);

    boolean setDefaultAddress(int id);
}
